[INFO] fetching crate ai-cli 0.2.1...
[INFO] checking ai-cli-0.2.1 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] extracting crate ai-cli 0.2.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate ai-cli 0.2.1 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ai-cli 0.2.1
[INFO] finished tweaking crates.io crate ai-cli 0.2.1
[INFO] tweaked toml for crates.io crate ai-cli 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate ai-cli 0.2.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7266b0098cc5de8eca280c151e68e57fb6b5a5304f868b946d52123148e762bb
[INFO] running `Command { std: "docker" "start" "-a" "7266b0098cc5de8eca280c151e68e57fb6b5a5304f868b946d52123148e762bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7266b0098cc5de8eca280c151e68e57fb6b5a5304f868b946d52123148e762bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7266b0098cc5de8eca280c151e68e57fb6b5a5304f868b946d52123148e762bb", kill_on_drop: false }`
[INFO] [stdout] 7266b0098cc5de8eca280c151e68e57fb6b5a5304f868b946d52123148e762bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4183f71cf55a682f1df539e6baf94e4862456e2a4a582ffa5fdcd7b7e17052ae
[INFO] running `Command { std: "docker" "start" "-a" "4183f71cf55a682f1df539e6baf94e4862456e2a4a582ffa5fdcd7b7e17052ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling futures-core v0.3.26
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling tokio v1.25.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling futures-task v0.3.26
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]     Checking futures-sink v0.3.26
[INFO] [stderr]    Compiling futures-channel v0.3.26
[INFO] [stderr]    Compiling futures-util v0.3.26
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]     Checking futures-io v0.3.26
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling io-lifetimes v1.0.5
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.10
[INFO] [stderr]    Compiling rustix v0.36.7
[INFO] [stderr]    Compiling serde_json v1.0.95
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking base64 v0.21.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking rustls-pemfile v1.0.2
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking rustls-native-certs v0.6.2
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]     Checking ipnet v2.7.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]    Compiling anyhow v1.0.70
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking os_str_bytes v6.4.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking clap_lex v0.3.1
[INFO] [stderr]     Checking bstr v1.4.0
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking is-terminal v0.4.2
[INFO] [stderr]     Checking fd-lock v3.0.9
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking utf8parse v0.2.0
[INFO] [stderr]     Checking unsafe-libyaml v0.2.5
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking unicode-segmentation v1.10.1
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking regex v1.7.1
[INFO] [stderr]     Checking rustyline v10.1.1
[INFO] [stderr]     Checking fancy-regex v0.11.0
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling futures-macro v0.3.26
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling clap_derive v4.1.0
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling async-recursion v1.0.2
[INFO] [stderr]     Checking clap v4.1.4
[INFO] [stderr]     Checking derive_builder v0.12.0
[INFO] [stderr]     Checking futures-executor v0.3.26
[INFO] [stderr]     Checking futures v0.3.26
[INFO] [stderr]     Checking tokio-util v0.7.7
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-stream v0.1.12
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]     Checking h2 v0.3.15
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.9.17
[INFO] [stderr]     Checking uuid v1.3.0
[INFO] [stderr]     Checking hyper v0.14.23
[INFO] [stderr]     Checking hyper-rustls v0.23.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.14
[INFO] [stderr]     Checking reqwest-eventsource v0.4.0
[INFO] [stderr]     Checking async-openai v0.10.1
[INFO] [stderr]     Checking tiktoken-rs v0.3.3
[INFO] [stderr]     Checking ai-cli v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `stream` is never read
[INFO] [stdout]   --> src/session.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub(crate) struct SessionOptions {
[INFO] [stdout]    |                   -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub stream: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&chat::ChatMessage` instead of cloning the inner type
[INFO] [stdout]    --> src/chat.rs:262:47
[INFO] [stdout]     |
[INFO] [stdout] 262 |             Ok(messages.iter().rev().map(|i| i.clone()).cloned().collect())
[INFO] [stdout]     |                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stream` is never read
[INFO] [stdout]   --> src/session.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub(crate) struct SessionOptions {
[INFO] [stdout]    |                   -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub stream: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ChatMessage` instead of cloning the inner type
[INFO] [stdout]    --> src/chat.rs:262:47
[INFO] [stdout]     |
[INFO] [stdout] 262 |             Ok(messages.iter().rev().map(|i| i.clone()).cloned().collect())
[INFO] [stdout]     |                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 27.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "4183f71cf55a682f1df539e6baf94e4862456e2a4a582ffa5fdcd7b7e17052ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4183f71cf55a682f1df539e6baf94e4862456e2a4a582ffa5fdcd7b7e17052ae", kill_on_drop: false }`
[INFO] [stdout] 4183f71cf55a682f1df539e6baf94e4862456e2a4a582ffa5fdcd7b7e17052ae
